Platform Explorer / Nuxeo Platform 2023.9

Component org.nuxeo.ecm.core.deletion.config

Requirements

Resolution Order

133
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.deletion.config" version="1.0.0">

  <require>org.nuxeo.ecm.core.bulk</require>

  <extension target="org.nuxeo.ecm.core.bulk" point="actions">
    <action name="deletion" inputStream="bulk/deletion" bucketSize="100" batchSize="50" />
    <action name="garbageCollectOrphanBlobs"
      validationClass="org.nuxeo.ecm.core.action.validation.GarbageCollectOrphanBlobsValidation"
      inputStream="bulk/garbageCollectOrphanBlobs" bucketSize="500"
      batchSize="50" sequentialScroll="true" />
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="deletion" class="org.nuxeo.ecm.core.action.DeletionAction"
      defaultConcurrency="${nuxeo.bulk.action.deletion.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.deletion.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="1s" maxDelay="10s" continueOnFailure="true"/>
    </streamProcessor>
    <!-- GarbageCollectOrphanBlobs processor -->
    <streamProcessor name="garbageCollectOrphanBlobs"
      class="org.nuxeo.ecm.core.action.GarbageCollectOrphanBlobsAction"
      defaultConcurrency="${nuxeo.bulk.action.garbageCollectOrphanBlobs.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.garbageCollectOrphanBlobs.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="500ms" maxDelay="10s" continueOnFailure="false" />
    </streamProcessor>
  </extension>

</component>